﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using WebPattern.Core.Logger;

namespace WebPattern.MVC
{
    public class BaseController : Controller
    {
        #region Logger
        static readonly log4net.ILog logger = log4net.LogManager.GetLogger(typeof(Controller));
        static readonly CustomLog4net customLogger = new CustomLog4net(logger);
        // log
        public static log4net.ILog Logger
        {
            get { return logger; }
        }
        public static CustomLog4net CLogger
        {
            get { return customLogger; }
        }
        #endregion
    }
}
